package com.woniu.finance.feign;

import com.woniu.user.domain.Customer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user")
public interface UserFeign {
    @RequestMapping("/user/tbcustomer/feign/getCustomerById")
    public Customer getCustomerById(@RequestParam("customerId") Long customerId);
}
